amd xsave: Enable SVM intercept for xsetbv instruction.
authorKeir Fraser <keir@xen.org>
Tue, 7 Dec 2010 18:28:19 +0000 (18:28 +0000)
committerKeir Fraser <keir@xen.org>
Tue, 7 Dec 2010 18:28:19 +0000 (18:28 +0000)
commit97da42335e49d077d3ddff824ace1ca10ddf5395
tree7ad4231a254356286b259acc54ebece6011b75fc
parentb2bef9fe49a040c3a60568e26deb723098597a1f
amd xsave: Enable SVM intercept for xsetbv instruction.

SVM introduces an intercept control bit for xsetbv instruction. This
patches enables xsetbv intercept for SVM.

Signed-off-by: Wei Huang <wei.huang2@amd.com>
xen/arch/x86/hvm/svm/emulate.c
xen/arch/x86/hvm/svm/vmcb.c
xen/include/asm-x86/hvm/svm/vmcb.h